package com.redoor.app.stake.workflow.model.controllerModel;

import io.swagger.annotations.ApiModelProperty;

import java.util.ArrayList;
import java.util.List;

/**
 *  工单查询使用的bean
 *
 * @author ZhangMumu
 * @date 2018/3/30 0030 15:58
 */
public class WorkOrderCriteria {
    @ApiModelProperty(value = "工单uuid",required = false)
    private String uuid;

    @ApiModelProperty(value = "工单编号", required = false)
    private String workorderNo;

    @ApiModelProperty(value = "工单创建查询开始时间", required = false)
    private String createdAtStart;

    @ApiModelProperty(value = "工单创建查询结束时间", required = false)
    private String createdAtEnd;

    @ApiModelProperty(value = "工单处理查询开始时间", required = false)
    private String reviewrDateStart;

    @ApiModelProperty(value = "工单处理查询结束时间", required = false)
    private String reviewrDateEnd;

    @ApiModelProperty(value = "工单类型, registrationApply为注册码申请工单,maintenanceApply为桩维护工申请单,maintenaceCharge为桩申请审核工单", required = false)
    private String targetType;

    @ApiModelProperty(value = "目标uuid",required = false)
    private String targetUuid;

    @ApiModelProperty(value = "产权单位Code", required = false)
    private String createorgCode;

    @ApiModelProperty(value = "查询分页起始数", required = false)
    private int offset = -1;

    @ApiModelProperty(value = "查询分页当前页面总条数", required = false)
    private int limit = -1;

    private Integer workStatus;

    @ApiModelProperty(value = "注册码审核时候同意下发注册码数量",required = false)
    private int acceptedAmount;

    @ApiModelProperty(value = "审核时填写的备注")
    private String reviewSuggestion;

    @ApiModelProperty(value = "地区权限控制使用")
    private List<String> ouCodeList;

    public List<String> getOuCodeList() {
        return ouCodeList;
    }

    public void setOuCodeList(List<String> ouCodeList) {
        this.ouCodeList = ouCodeList;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public int getAcceptedAmount() {
        return acceptedAmount;
    }

    public void setAcceptedAmount(int acceptedAmount) {
        this.acceptedAmount = acceptedAmount;
    }

    public String getReviewSuggestion() {
        return reviewSuggestion;
    }

    public void setReviewSuggestion(String reviewSuggestion) {
        this.reviewSuggestion = reviewSuggestion;
    }


    private List<String> todoOrDone = new ArrayList<String>(1);

    public List<String> getTodoOrDone() {
        return todoOrDone;
    }

    public void setTodoOrDone(List<String> todoOrDone) {
        this.todoOrDone = todoOrDone;
    }

    public Integer getWorkStatus() {
        return workStatus;
    }

    public void setWorkStatus(Integer workStatus) {
        this.workStatus = workStatus;
    }

    public String getWorkorderNo() {
        return workorderNo;
    }

    public void setWorkorderNo(String workorderNo) {
        this.workorderNo = workorderNo;
    }

    public String getCreatedAtStart() {
        return createdAtStart;
    }

    public void setCreatedAtStart(String createdAtStart) {
        this.createdAtStart = createdAtStart;
    }

    public String getCreatedAtEnd() {
        return createdAtEnd;
    }

    public void setCreatedAtEnd(String createdAtEnd) {
        this.createdAtEnd = createdAtEnd;
    }

    public String getReviewrDateStart() {
        return reviewrDateStart;
    }

    public void setReviewrDateStart(String reviewrDateStart) {
        this.reviewrDateStart = reviewrDateStart;
    }

    public String getReviewrDateEnd() {
        return reviewrDateEnd;
    }

    public void setReviewrDateEnd(String reviewrDateEnd) {
        this.reviewrDateEnd = reviewrDateEnd;
    }

    public String getTargetType() {
        return targetType;
    }

    public void setTargetType(String targetType) {
        this.targetType = targetType;
    }

    public String getCreateorgCode() {
        return createorgCode;
    }

    public void setCreateorgCode(String createorgCode) {
        this.createorgCode = createorgCode;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public int getOffset() {
        return offset;
    }

    public void setOffset(int offset) {
        this.offset = offset;
    }

    public String getTargetUuid() {
        return targetUuid;
    }

    public void setTargetUuid(String targetUuid) {
        this.targetUuid = targetUuid;
    }

}
